﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
using System.Windows.Forms;
using System.Threading;
using System.Text;

namespace MakersEngine
{

    class TrinityMain
    {
        public static string link = "git://github.com/TrinityCore/TrinityCore.git";
        public static double vers = 1.1; // 1.10 first release
        
        public static void TrinityStart()
        {
            Logging.Complete("Loaded TrinityCore ("+vers+")");
            Logging.Normal("");

            DirMgr.Create("TrinityCore");
            DirMgr.Create("TrinityBuild");
            GitMgr.GetFiles(null, "init", "TrinityCore");
            GitMgr.GetFiles(ReqVar.TrinURL, "pull ", "TrinityCore");
            MakeMgr.GenerateFiles("TrinityCore", "TrinityBuild");
            Console.ReadLine();
            BuildMgr.BuildSLN("TrinityBuild", "TrinityCore.sln");
        }       
    }
    
}
